﻿using System;

namespace desktop.db
{
    public interface Database
    {
        bool Success
        {
            get;
        }

        string LastError
        {
            get;
        }

        bool ExecuteQuery(string query);

        int getInt(string col);
        decimal getDecimal(string col);
        string getString(string col);
        DateTime getDate(string col);
    }
}
